<ul class="pagination" style="margin: 0px" ng-if="pageCount!=0">
    <li><a href="" ng-click="change(1)">&laquo;</a></li>
    <li ng-repeat="page in pageList" ng-if="page.id<currPage"><a href=""  ng-click="change(page.id)">{{page.id}}</a></li>
    <li class="active" ng-repeat="page in pageList" ng-if="page.id==currPage"><a href=""  ng-click="change(page.id)">{{page.id}}</a></li>
    <li ng-repeat="page in pageList" ng-if="page.id>currPage"><a href=""  ng-click="change(page.id)">{{page.id}}</a></li>
    <li><a href="" ng-click="change(pageCount)">&raquo;</a></li>
</ul>
